package k2_oop.p1_classAndObject.demo14;

public class TestDemo14 {
    public static void main(String[] args) {

        Car car = new Car(50);

        car.speedUp();
        car.speedUp();
        car.speedUp();
        car.speedUp();
        car.speedUp();
        car.speedUp();
        car.speedUp();
        car.speedUp();


        car.speedDown();
        car.speedDown();
        car.speedDown();
        car.speedDown();
        car.speedDown();
        car.speedDown();
        car.speedDown();
        car.speedDown();

    }

}
